build: don't fail on unknown architecture
authorAbderrahim Kitouni <akitouni@gnome.org>
Fri, 2 Aug 2019 04:54:26 +0000 (05:54 +0100)
committerAbderrahim Kitouni <akitouni@gnome.org>
Fri, 2 Aug 2019 04:54:26 +0000 (05:54 +0100)
The autotools build ignored unknown architectures silently while the meson
build errors out. This turns the error into a warning.

Fixes #41

meson.build

index 9389b3f8001f52da09ad9a5c6372cce7ad514cfb..66aa981e572626e77c0c6a769358e7f147d55d3f 100644 (file)
@@ -103,7 +103,7 @@ elif host_cpu == 'ppc64' or host_cpu == 'powerpc64'
   conf.set10('ARCH_PPC64', true, description:
     'Define to 1 if you are compiling for PowerPC64.')
 else
-  error('Unknown host architecture')
+  warning('Unknown host architecture')
 endif
 
 host_os = host_machine.system()